<?php
function smarty_modifier_date($string, $format = 'Y-m-d H:i:s')
{
    return date($format, strtotime($string));
}

?>
